package com.xydtech.ecard.product.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子名片产品配置对象 ecard_prd_info
 *
 * @author Daniel
 * @date 2021-09-06
 */
@ApiModel(value = "电子名片产品配置对象")
public class EcardApiPrdInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 产品编号 */
    @ApiModelProperty(notes = "产品编号")
    private Long prdId;

    /** 产品名称 */
    @ApiModelProperty(notes = "产品名称")
    @Excel(name = "产品名称")
    private String prdName;

    /** 产品类型            1-贷款            2-存款            3-理财            4-其他 */
    @ApiModelProperty(notes = "产品类型            1-贷款            2-存款            3-理财            4-其他")
    @Excel(name = "产品类型            1-贷款            2-存款            3-理财            4-其他")
    private String prdType;

    /** 产品标题 */
    @ApiModelProperty(notes = "产品标题")
    @Excel(name = "产品标题")
    private String prdTitle;

    /** 标题说明 */
    @ApiModelProperty(notes = "标题说明")
    @Excel(name = "标题说明")
    private String prdTitleDesc;

    /** 产品特点 */
    @ApiModelProperty(notes = "产品特点")
    @Excel(name = "产品特点")
    private String prdFeature;

    /** 产品LOGO */
    @ApiModelProperty(notes = "产品LOGO")
    @Excel(name = "产品LOGO")
    private String prdLogo;

    /** 产品banner */
    @ApiModelProperty(notes = "产品banner")
    @Excel(name = "产品banner")
    private String prdBanner;

    /** 产品详细介绍 */
    @ApiModelProperty(notes = "产品详细介绍")
    private String prdMemo;

    /** 独立法人机构 */
    @ApiModelProperty(notes = "独立法人机构")
    @Excel(name = "独立法人机构")
    private Long deptId;

    @ApiModelProperty(notes = "产品目标:1-个人,2-企业")
    private String prdTarget;

    /** 分享量 */
    @ApiModelProperty(notes = "分享量")
    private Long shareCouut;

    /** 浏览量 */
    @ApiModelProperty(notes = "浏览量")
    private Long browseCouut;

    /** 预约量 */
    @ApiModelProperty(notes = "预约量")
    private Long reservationCouut;


    /**
     * 产品自定义跳转配置对象
     */
    private EcardPrdDefinedSkip ecardPrdDefinedSkip;

    public void setPrdId(Long prdId) {
        this.prdId = prdId;
    }

    public Long getPrdId() {
        return prdId;
    }

    public void setPrdName(String prdName) {
        this.prdName = prdName;
    }

    public String getPrdName() {
        return prdName;
    }

    public void setPrdType(String prdType) {
        this.prdType = prdType;
    }

    public String getPrdType() {
        return prdType;
    }

    public void setPrdTitle(String prdTitle) {
        this.prdTitle = prdTitle;
    }

    public String getPrdTitle() {
        return prdTitle;
    }

    public void setPrdTitleDesc(String prdTitleDesc) {
        this.prdTitleDesc = prdTitleDesc;
    }

    public String getPrdTitleDesc() {
        return prdTitleDesc;
    }

    public void setPrdFeature(String prdFeature) {
        this.prdFeature = prdFeature;
    }

    public String getPrdFeature() {
        return prdFeature;
    }

    public void setPrdLogo(String prdLogo) {
        this.prdLogo = prdLogo;
    }

    public String getPrdLogo() {
        return prdLogo;
    }

    public void setPrdBanner(String prdBanner) {
        this.prdBanner = prdBanner;
    }

    public String getPrdBanner() {
        return prdBanner;
    }

    public void setPrdMemo(String prdMemo) {
        this.prdMemo = prdMemo;
    }

    public String getPrdMemo() {
        return prdMemo;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public String getPrdTarget() {
        return prdTarget;
    }

    public void setPrdTarget(String prdTarget) {
        this.prdTarget = prdTarget;
    }

    public Long getShareCouut() {
        return shareCouut;
    }

    public void setShareCouut(Long shareCouut) {
        this.shareCouut = shareCouut;
    }

    public Long getBrowseCouut() {
        return browseCouut;
    }

    public void setBrowseCouut(Long browseCouut) {
        this.browseCouut = browseCouut;
    }

    public Long getReservationCouut() {
        return reservationCouut;
    }


    public void setReservationCouut(Long reservationCouut) {
        this.reservationCouut = reservationCouut;
    }

    public EcardPrdDefinedSkip getEcardPrdDefinedSkip() {
        return ecardPrdDefinedSkip;
    }

    public void setEcardPrdDefinedSkip(EcardPrdDefinedSkip ecardPrdDefinedSkip) {
        this.ecardPrdDefinedSkip = ecardPrdDefinedSkip;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("prdId", getPrdId())
                .append("prdName", getPrdName())
                .append("prdType", getPrdType())
                .append("prdTitle", getPrdTitle())
                .append("prdTitleDesc", getPrdTitleDesc())
                .append("prdFeature", getPrdFeature())
                .append("prdLogo", getPrdLogo())
                .append("prdBanner", getPrdBanner())
                .append("prdMemo", getPrdMemo())
                .append("deptId", getDeptId())
                .append("prdTarget", getPrdTarget())
                .append("shareCouut", getShareCouut())
                .append("browseCouut", getBrowseCouut())
                .append("reservationCouut", getReservationCouut())
                .append("ecardPrdDefinedSkip", getEcardPrdDefinedSkip())
                .toString();
    }
}
